package com.atguigu.gulimall.order.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 对应购物车中购物项的数据
 * @Created: with IntelliJ IDEA.
 * @author: xyq
 * @createTime: 2020-8-10 23:18:40
 **/

@Data
public class OrderItemVo {

    private Long skuId;

//    private Boolean check;

    private String title;

    private String image;

    /**
     * 商品套餐属性
     */
    private List<String> skuAttrValues;

    private BigDecimal price;

    private Integer count;

    private BigDecimal totalPrice;

    /**
     * 商品重量
     **/
    private BigDecimal weight = new BigDecimal("0.085");

    // todo 查询库存状态
    private boolean hasStock;
}
